package com.sqfw.project.learnRecord.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sqfw.framework.aspectj.lang.annotation.Excel;
import com.sqfw.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 录音学习对象 learn_record_info
 *
 * @author zsj
 * @date 2024-09-23
 */
public class LearnRecordInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 录音地址
     */
    @Excel(name = "录音名称")
    @NotBlank(message = "录音名称不能未空")
    private String recordName;

    /**
     * 录音文件地址
     */
    @Excel(name = "录音文件地址")
    private String recordFilepath;

    /**
     * 工单编号
     */
    @Excel(name = "工单编号")
    private String wpid;

    /**
     * 工单类别
     */
    @Excel(name = "工单类别")
    private String wpType;

    /**
     * 一级分类
     */
    @Excel(name = "一级分类")
    private String class1;

    /**
     * 二级分类
     */
    @Excel(name = "二级分类")
    private String class2;

    /**
     * 三级分类
     */
    @Excel(name = "三级分类")
    private String class3;

    /**
     * 办件来源 自办/流转
     */
    @Excel(name = "办件来源 自办/流转")
    private String workSource;

    //查询条件
    /**
     * 来电电话
     */
    private String phoneno;

    /**
     * 坐席工号
     */
    private String agentId;

    /**
     * 姓名
     */
    private String nickName;

    /**
     * 通话时长
     */
    private String recordSeconds;

    /**
     * 提交理由
     */
    private String submitReason;

    /**
     * 内容分类
     */
    private String className;

    //内容类别查询字段
    private List<List<String>> classAllFind;

    private List<String> classAll;

    public List<List<String>> getClassAllFind() {
        return classAllFind;
    }

    public void setClassAllFind(List<List<String>> classAllFind) {
        this.classAllFind = classAllFind;
    }

    public List<String> getClassAll() {
        return classAll;
    }

    public void setClassAll(List<String> classAll) {
        this.classAll = classAll;
    }

    public String getSubmitReason() {
        return submitReason;
    }

    public void setSubmitReason(String submitReason) {
        this.submitReason = submitReason;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getPhoneno() {
        return phoneno;
    }

    public void setPhoneno(String phoneno) {
        this.phoneno = phoneno;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRecordSeconds() {
        return recordSeconds;
    }

    public void setRecordSeconds(String recordSeconds) {
        this.recordSeconds = recordSeconds;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public String getRecordName() {
        return recordName;
    }

    public void setRecordName(String recordName) {
        this.recordName = recordName;
    }

    public void setRecordFilepath(String recordFilepath) {
        this.recordFilepath = recordFilepath;
    }

    public String getRecordFilepath() {
        return recordFilepath;
    }

    public void setWpid(String wpid) {
        this.wpid = wpid;
    }

    public String getWpid() {
        return wpid;
    }

    public void setWpType(String wpType) {
        this.wpType = wpType;
    }

    public String getWpType() {
        return wpType;
    }

    public void setClass1(String class1) {
        this.class1 = class1;
    }

    public String getClass1() {
        return class1;
    }

    public void setClass2(String class2) {
        this.class2 = class2;
    }

    public String getClass2() {
        return class2;
    }

    public void setClass3(String class3) {
        this.class3 = class3;
    }

    public String getClass3() {
        return class3;
    }

    public void setWorkSource(String workSource) {
        this.workSource = workSource;
    }

    public String getWorkSource() {
        return workSource;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("recordName", getRecordName())
                .append("recordFilepath", getRecordFilepath())
                .append("createTime", getCreateTime())
                .append("wpid", getWpid())
                .append("wpType", getWpType())
                .append("class1", getClass1())
                .append("class2", getClass2())
                .append("class3", getClass3())
                .append("workSource", getWorkSource())
                .toString();
    }
}
